﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ColorPicker
{
    class ConfigHelper
    {
        public const int TAG_IS_FOLLOW_MOUSE = 1;
        public const int TAG_IS_MINIMIZE = 2;
        public const int TAG_NONE_OF_ALL = 3;

        public static int getWindowBehaviourConfig()
        {
            return Properties.Settings.Default.setting_window_behaviour;
        }

        public static void setWindowBehaviourConfig(int tag)
        {
            Properties.Settings.Default.setting_window_behaviour = tag;
            Properties.Settings.Default.Save();
        }

        public static bool isShowMagnifier()
        {
            return Properties.Settings.Default.setting_is_show_magnifier;
        }

        public static void setIsShowMagnifier(bool tag)
        {
            Properties.Settings.Default.setting_is_show_magnifier = tag;
            Properties.Settings.Default.Save();
        }
    }
}
